package com.banmao.algorithm.No201To300.No297;

import com.banmao.algorithm.utils.GenerateTreeUtil;
import com.banmao.algorithm.utils.vo.TreeNode;

public class Answer {

    public static void main(String[] args) {

        LadongSolution1 solution = new LadongSolution1();
        TreeNode treeNode = GenerateTreeUtil.generateTree(new String[]{"1", "2", "3", "null", "null", "4", "5"});

        TreeNode root = solution.deserialize(solution.serialize(treeNode));

        System.out.println(treeNode);
        System.out.println(root);

    }

}
